package com.industrial.im.mapper;

import java.util.List;
import com.industrial.im.domain.DispatchApplyExtension;

/**
 * 申请延期Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public interface DispatchApplyExtensionMapper 
{
    /**
     * 查询申请延期
     * 
     * @param baseId 申请延期主键
     * @return 申请延期
     */
    public DispatchApplyExtension selectDispatchApplyExtensionByBaseId(String baseId);

    /**
     * 查询申请延期列表
     * 
     * @param dispatchApplyExtension 申请延期
     * @return 申请延期集合
     */
    public List<DispatchApplyExtension> selectDispatchApplyExtensionList(DispatchApplyExtension dispatchApplyExtension);

    /**
     * 新增申请延期
     * 
     * @param dispatchApplyExtension 申请延期
     * @return 结果
     */
    public int insertDispatchApplyExtension(DispatchApplyExtension dispatchApplyExtension);

    /**
     * 修改申请延期
     * 
     * @param dispatchApplyExtension 申请延期
     * @return 结果
     */
    public int updateDispatchApplyExtension(DispatchApplyExtension dispatchApplyExtension);

    /**
     * 删除申请延期
     * 
     * @param baseId 申请延期主键
     * @return 结果
     */
    public int deleteDispatchApplyExtensionByBaseId(String baseId);

    /**
     * 批量删除申请延期
     * 
     * @param baseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchApplyExtensionByBaseIds(String[] baseIds);

    void check(DispatchApplyExtension dispatchApplyExtension);

}
